package com.zhongkai.model.config;

/**
 * Action entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Action implements java.io.Serializable {

	// Fields

	private Integer actionId;
	private Integer actionType;
	private Integer roleId;
	private String actionKey;

	// Constructors

	/** default constructor */
	public Action() {
	}

	/** minimal constructor */
	public Action(Integer actionType, Integer roleId) {
		this.actionType = actionType;
		this.roleId = roleId;
	}

	/** full constructor */
	public Action(Integer actionType, Integer roleId, String actionKey) {
		this.actionType = actionType;
		this.roleId = roleId;
		this.actionKey = actionKey;
	}

	// Property accessors

	public Integer getActionId() {
		return this.actionId;
	}

	public void setActionId(Integer actionId) {
		this.actionId = actionId;
	}

	public Integer getActionType() {
		return this.actionType;
	}

	public void setActionType(Integer actionType) {
		this.actionType = actionType;
	}

	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getActionKey() {
		return this.actionKey;
	}

	public void setActionKey(String actionKey) {
		this.actionKey = actionKey;
	}

}